<%@ Page Language="C#" MasterPageFile="~/MasterPage/MasterPage.master" AutoEventWireup="true" CodeFile="Statement.aspx.cs" Inherits="Pages_Statement" Title="Account Statement" %>

<%@ Register Src="../WebUserControl_acctype.ascx" TagName="WebUserControl_acctype"
    TagPrefix="uc1" %>

<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
    Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div>
        <table style="width: 100%; height: 25px">
            <tr>
                    <th style="background-color: #9966ff; text-align: left" valign="middle">
                    &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; Select Account :<uc1:WebUserControl_acctype
                            ID="WebUserControl_acctype1" runat="server" />
                    </th>
                    <td style="background-color: #9966ff; text-align: left; width: 35%;" valign="middle">
                        &nbsp;&nbsp;&nbsp; &nbsp;
                        </td>
                    <td style="background-color: #9966ff; text-align: left; width: 35%;" valign="middle">
                        &nbsp;
                    </td>
                    
            </tr>
            <tr>
            <th style="text-align: left"> From Year&nbsp;&nbsp;<asp:DropDownList ID="DropDownList3" runat="server">
                <asp:ListItem>2000</asp:ListItem>
                <asp:ListItem>2001</asp:ListItem>
                <asp:ListItem>2002</asp:ListItem>
                <asp:ListItem>2003</asp:ListItem>
                <asp:ListItem>2004</asp:ListItem>
                <asp:ListItem>2005</asp:ListItem>
                <asp:ListItem>2006</asp:ListItem>
                <asp:ListItem>2007</asp:ListItem>
                <asp:ListItem>2008</asp:ListItem>
                <asp:ListItem>2009</asp:ListItem>
                <asp:ListItem>2010</asp:ListItem>
                <asp:ListItem>2011</asp:ListItem>
                <asp:ListItem>2012</asp:ListItem>
                <asp:ListItem>2013</asp:ListItem>
                <asp:ListItem>2014</asp:ListItem>
                <asp:ListItem>2015</asp:ListItem>
                <asp:ListItem>2016</asp:ListItem>
                <asp:ListItem>2017</asp:ListItem>
                <asp:ListItem></asp:ListItem>
                </asp:DropDownList>
            </th><td rowspan = 10 colspan =2 scope="rowgroup">
                &nbsp;<div style="overflow:scroll; height:400px; border-top-style: ridge; border-right-style: ridge; border-left-style: ridge; border-bottom-style: ridge; margin-top: 0px;" title="Statement is presented Chronologically">
                    &nbsp;<asp:GridView ID="GridView2" runat="server" CellPadding="3" 
                            GridLines="None" Width="452px" AutoGenerateColumns="False" BackColor="White" 
                            BorderColor="White" BorderStyle="Ridge" BorderWidth="2px" CellSpacing="1" >
                        <RowStyle BackColor="#DEDFDE" ForeColor="Black" />
                        <Columns>
                            <asp:BoundField DataField="Date1" HeaderText="Date" />
                            <asp:BoundField DataField="nature" HeaderText="Nature" />
                            <asp:BoundField DataField="refn" HeaderText="Refn" />
                            <asp:BoundField DataField="explain" HeaderText="Particulars" />
                            <asp:BoundField DataField="totalton" HeaderText="Totalton" />
                            <asp:BoundField DataField="debit" HeaderText="Debit" 
                                DataFormatString="{0:#.##}" />
                            <asp:BoundField DataField="credit" HeaderText="Credit" 
                                DataFormatString="{0:#.##}" />
                            <asp:BoundField DataField="balance" HeaderText="Balance" 
                                DataFormatString="{0:#.##}" />
                            <asp:BoundField DataField="debexp" HeaderText="Explanation" />
                        </Columns>
                        <FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
                        <PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" />
                        <SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
                        <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" />
                    </asp:GridView>
                    &nbsp;
                </div>
            </td>
            </tr>
            <tr><td>
                <asp:TextBox ID="TextBox_fromdate" runat="server" AutoPostBack="True" Enabled="False"></asp:TextBox></td>
            </tr>
            <tr><th style="text-align: left">To Date</th></tr>
            <tr><td>
                <asp:TextBox ID="TextBox_todate" runat="server" AutoPostBack="True"></asp:TextBox></td></tr>
            <tr><td>
                <asp:Button ID="Button1" runat="server" OnClick="Button1_Click1" Text="Generate Statement" /></td></tr>
            <tr><td style="height: 200px">
                &nbsp;<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox></td></tr>
            <tr><td></td></tr>
            <tr><td></td></tr>
            <tr><td></td></tr>
            <tr><td></td></tr>
        </table>
    </div>
</asp:Content>

